Jochen Sprickerhof [Thu, 18 Jul 2019 22:55:38 +0000 (00:55 +0200)]
Update changelog for 1.6.0+ds-2 release
Jochen Sprickerhof [Thu, 18 Jul 2019 22:54:49 +0000 (00:54 +0200)]
Build doc in build-indep
Jochen Sprickerhof [Thu, 18 Jul 2019 21:32:26 +0000 (23:32 +0200)]
Update changelog for 1.6.0+ds-1 release
Jochen Sprickerhof [Thu, 18 Jul 2019 21:29:51 +0000 (23:29 +0200)]
Bump policy version (no changes)
Jochen Sprickerhof [Thu, 18 Jul 2019 20:21:58 +0000 (22:21 +0200)]
Maintainer set to team and add myself as uploader
Bernd Zeimetz [Sun, 14 Jul 2019 18:42:10 +0000 (20:42 +0200)]
Update Vcs-Git Urls.
Bernd Zeimetz [Sun, 14 Jul 2019 18:40:07 +0000 (20:40 +0200)]
Use gitlab-ci instead of travis
Jochen Sprickerhof [Sun, 16 Jun 2019 15:19:02 +0000 (17:19 +0200)]
Update changelog for 1.6.0-1 release
Jochen Sprickerhof [Sun, 26 May 2019 20:29:21 +0000 (22:29 +0200)]
Update copyright
Jochen Sprickerhof [Sun, 16 Jun 2019 12:23:42 +0000 (14:23 +0200)]
Port to dh 12
Closes: #912089
Jochen Sprickerhof [Thu, 30 May 2019 10:31:31 +0000 (12:31 +0200)]
Add patches to use system libraries
Jochen Sprickerhof [Thu, 30 May 2019 10:31:08 +0000 (12:31 +0200)]
Rebase patches
Jochen Sprickerhof [Sun, 26 May 2019 20:44:25 +0000 (22:44 +0200)]
Add watch file
Jochen Sprickerhof [Sun, 26 May 2019 20:44:03 +0000 (22:44 +0200)]
Fix debian/source/format
Jochen Sprickerhof [Sun, 26 May 2019 20:22:50 +0000 (22:22 +0200)]
Merge branch 'upstream'
Jochen Sprickerhof [Sun, 26 May 2019 19:45:01 +0000 (21:45 +0200)]
Cleanup upstream sources
Jochen Sprickerhof [Sun, 26 May 2019 18:56:56 +0000 (20:56 +0200)]
Revert "Add a debian .travis.yml"
This reverts commit
fb44d9868f16e5dd4f5d4187e645eb4e304a81ce.
Jochen Sprickerhof [Sun, 26 May 2019 18:54:11 +0000 (20:54 +0200)]
Merge tag 'gpsbabel_1_6_0' into upstream
GPSBabel [Thu, 2 May 2019 08:26:47 +0000 (03:26 -0500)]
Merge pull request #346 from tsteven4/r160
Roll version number for release 1.6.0.
tsteven4 [Tue, 30 Apr 2019 02:18:44 +0000 (20:18 -0600)]
Roll version number for release 1.6.0.
GPSBabel [Mon, 29 Apr 2019 19:21:27 +0000 (14:21 -0500)]
Merge pull request #345 from gpsbabel/gpsbabel-patch-2
Remove outdated multiline comment in gdb.cc
GPSBabel [Mon, 29 Apr 2019 19:06:47 +0000 (14:06 -0500)]
Merge pull request #340 from tsteven4/qt5123
Roll Qt to 5.12.3 and 5.9.8
GPSBabel [Mon, 29 Apr 2019 02:47:46 +0000 (21:47 -0500)]
Remove outdated multiline comment in gdb.cc
tsteven4 [Mon, 22 Apr 2019 13:17:18 +0000 (07:17 -0600)]
hook GUI up to sort filter. (#342)
because the sort filter now works on waypoints
and/or routes and/or tracks the dialog is under
the Miscellaneous menu.
tsteven4 [Fri, 19 Apr 2019 00:43:36 +0000 (18:43 -0600)]
pull minizip from configure flow. (#339)
while it was planned to use minizip those
plans were never completed and it was unused.
zlib/contrib/minizip appears to be unmaintained.
some issues e.g. #338.
tsteven4 [Wed, 17 Apr 2019 21:09:43 +0000 (15:09 -0600)]
Roll Qt to 5.12.3 and 5.9.8
GPSBabel [Sun, 14 Apr 2019 04:20:39 +0000 (23:20 -0500)]
Merge pull request #336 from gpsbabel/datefix
Fix date in Windows rc copyright.
Robert Lipe [Sun, 14 Apr 2019 02:58:00 +0000 (21:58 -0500)]
Fix date in Windows rc copyright.
Robert Lipe [Sun, 14 Apr 2019 02:32:25 +0000 (21:32 -0500)]
Fix order of arguments to new upgrade check.
Robert Lipe [Sun, 14 Apr 2019 02:24:54 +0000 (21:24 -0500)]
Check in the regenerated setup.iss
Robert Lipe [Sun, 14 Apr 2019 00:37:27 +0000 (19:37 -0500)]
Turn off debugging mode in upgrade check.
Robert Lipe [Sun, 14 Apr 2019 00:26:04 +0000 (19:26 -0500)]
Fix GUI upgrade check to handle upgrade from x-betaFOO to x.
Robert Lipe [Sat, 13 Apr 2019 22:45:38 +0000 (17:45 -0500)]
Bump version number for (hopefully short-lived) beta.
Robert Lipe [Mon, 8 Apr 2019 02:49:21 +0000 (21:49 -0500)]
Update dependencies in Makefile.in for release.
tsteven4 [Fri, 5 Apr 2019 14:43:38 +0000 (08:43 -0600)]
split csv lines as QStrings and return a list of all fields. (#332)
* introdcue csv_linesplit
Which is like csv_lineparse, except it gives you a list
of all the values, and it processing the line as a QString.
* introduce gpsbabel::TextStream, use it
in unicsv reader, ozi.
* convert unicsv writer to textstream.
* if a codec is not found list available.
* switch unicsv to CET_CHARSET_UTF8 to avoid
undesired fs conversions. All conversions are
handled by the codec used by qtextstream.
* output boms with non utf8 unicode codecs.
* use rfc4180 dequote method with unicsv.
* add test for csv quoting w RFC4180.
tsteven4 [Wed, 3 Apr 2019 23:16:37 +0000 (17:16 -0600)]
add documentation for some options. (#334)
* add documentation for some options.
garmin_gpi: languagecode
gpx: elevprec
* doc wording tweak.
* delete obsolete unused lowranceusr option,
and document new lowranceusr options.
* tweak doc.
tsteven4 [Mon, 25 Mar 2019 23:43:08 +0000 (17:43 -0600)]
update continous release version for macos. (#331)
tsteven4 [Sat, 16 Mar 2019 20:59:00 +0000 (14:59 -0600)]
update Qt 5.12 builds to 5.12.2. (#329)
* update Qt 5.12 builds to 5.12.2.
* update coverage reporter, kill java8 in docker, add bear.
tsteven4 [Sat, 16 Mar 2019 16:49:51 +0000 (10:49 -0600)]
retire queues. (#328)
tsteven4 [Sat, 16 Mar 2019 14:40:10 +0000 (08:40 -0600)]
Introduce a WaypointList class to define the interface to our lists of waypoints. (#326)
* Introduce a WaypointList class to define the interface to our lists of waypoints.
WaypointList is backed QList, eliminating the use of legacy queues for waypoint lists.
* try to appease xcode wrt std::abs.
* clean up inheritence in WaypointList, RouteList.
also quiet clazy with igc and gpsbabel_optional::optional.
also improve includes in defs.h.
* get rid of unnecessary reinterpret_cast.
and correct pointer constness lost by auto.
tsteven4 [Sat, 16 Mar 2019 14:31:16 +0000 (08:31 -0600)]
replace queues in mkshort. (#327)
Also, hide the contents of mkshort_handle_imp.
tsteven4 [Wed, 13 Mar 2019 22:15:25 +0000 (16:15 -0600)]
fiddle with nmea waypoint status tracking. (#325)
Traditionally nmea looks at the Waypoint data member Q
to decide if the Waypoint has been added on to a global list, and
if it has not it deletes the Waypoint so we don't leak memory.
This is problematic when we change the waypoint lists so queues
aren't used.
To overcome this difficulty nmea now uses a derived class of
Waypoint that tracks if the Waypoint has been added or not.
tsteven4 [Wed, 13 Mar 2019 17:13:07 +0000 (11:13 -0600)]
fix stackfilter issues. (#324)
1. correct defect in the new RouteList::swap method.
2. correct an old bug in stackfilter that cleaned up
waypts on exit, but not routes or tracks.
3. enhance stackfilter test to test routes and tracks as well
as waypts.
tsteven4 [Mon, 11 Mar 2019 23:50:27 +0000 (17:50 -0600)]
replace random queues with QLists. (#323)
tsteven4 [Sun, 10 Mar 2019 16:08:49 +0000 (10:08 -0600)]
Merge pull request #296 from tsteven4/routelist
Introduce a RouteList class.
tsteven4 [Sun, 10 Mar 2019 15:10:36 +0000 (09:10 -0600)]
convert ozi io to QTextStream (#315)
* convert ozi io to QTextStream.
and add an option to set the codec.
default the codec to windows-1252, which matches historic
usage but not recent behavior.
fix a memory leak, csv_lineparse needs to die.
fix a mistranslation with QString::arg.
* enhance ozi test for routes and tracks.
* eliminate csv_lineparse in ozi.
* eliminate obsolete commented code in ozi.
* update encoding comments for ozi.
* add doc for ozi codec option.
tsteven4 [Sun, 10 Mar 2019 14:24:52 +0000 (08:24 -0600)]
regenerate translation files including command line strings. (#319)
* spelling fixes in mainwindow.cc
* regenerate compiled translation files.
add a process to capture the translated command line strings, &
update the corresponding translation source and compiled files.
remove gui context from gpsbabel_it.ts.
correct errors in mainwindow setting up command line translations.
deploy compiled command line translations.
* correct permissions on new pro file.
* delete obsolete and empty translation files.
tsteven4 [Sun, 10 Mar 2019 03:11:24 +0000 (20:11 -0700)]
add CMakeLists.txt file for GUI. (#322)
GPSBabel [Sun, 10 Mar 2019 00:56:02 +0000 (18:56 -0600)]
Merge pull request #298 from gpsbabel/skytraq
Essentially revert the skytraq part of PR#286.
GPSBabel [Sun, 10 Mar 2019 00:55:18 +0000 (18:55 -0600)]
Merge pull request #321 from gpsbabel/gpsbabel-patch-3
Drop unused get_crc32_s
GPSBabel [Sun, 10 Mar 2019 00:54:44 +0000 (18:54 -0600)]
Merge pull request #320 from gpsbabel/gpsbabel-patch-2
Remove dead code: get_crc32_s
GPSBabel [Sat, 9 Mar 2019 23:25:22 +0000 (17:25 -0600)]
Merge branch 'master' into skytraq
GPSBabel [Sat, 9 Mar 2019 23:11:38 +0000 (17:11 -0600)]
Drop unused get_crc32_s
GPSBabel [Sat, 9 Mar 2019 23:08:07 +0000 (17:08 -0600)]
Remove dead code: get_crc32_s
tsteven4 [Sat, 9 Mar 2019 16:44:04 +0000 (09:44 -0700)]
clean up gui main and fix a png. (#313)
* clean up gui main and fix a png.
- fix libpng warning: iCCP: known incorrect sRGB profile
issue with runit.png with pngcrush.
- fix includes for gui/main.cc, including removal of
CoreFoundation.h
- use QApplication static methods instead of going directly
to the underlying QCoreApplication static methods.
- no path setting in GUI, instead pass the full path to gpsbabel when using QProcess::start.
in formatload.cc xlt() use qt methods to get a char* instead of
resorting to stdlib. At this point Qt assumes all translate strings
are utf8. However, the formatload xlt intent doesn't work because
1) MainWindow::LoadLanguage hasn't been called when
MainWindow::loadFormats is called.
2) the translations don't exist for the format bits from gpsbabel
that fromatload tries to translate. I think this was the intent
of the gpsbabel_*.ts files which are very out of date and no
longer distributed.
tsteven4 [Sat, 9 Mar 2019 14:39:59 +0000 (07:39 -0700)]
spelling fixes in mainwindow.cc (#318)
tsteven4 [Thu, 7 Mar 2019 22:34:18 +0000 (15:34 -0700)]
normalize connections in GUI (#316)
as suggested by clazy.
tsteven4 [Sun, 3 Mar 2019 22:58:54 +0000 (15:58 -0700)]
Merge pull request #312 from tsteven4/tidygui3
clang-tidy fixes for the gui
tsteven4 [Sun, 3 Mar 2019 18:16:23 +0000 (11:16 -0700)]
clang-tidy readability-else-after-return on gui.
and reformat fixes with astyle.
tsteven4 [Sun, 3 Mar 2019 18:11:10 +0000 (11:11 -0700)]
manual fix suggested by clang-tidy modernize-use-using.
tsteven4 [Sun, 3 Mar 2019 18:00:15 +0000 (11:00 -0700)]
clang-tidy readability-named-parameter on gui.
tsteven4 [Sun, 3 Mar 2019 17:48:19 +0000 (10:48 -0700)]
clang-tidy hicpp-use-override on gui.
tsteven4 [Sun, 3 Mar 2019 17:46:54 +0000 (10:46 -0700)]
clang-tidy readability-simplify-boolean-expr on gui.
tsteven4 [Sun, 3 Mar 2019 17:37:43 +0000 (10:37 -0700)]
clang-tidy readability-braces-around-statements on gui.
tsteven4 [Sun, 3 Mar 2019 17:33:14 +0000 (10:33 -0700)]
clang-tidy readability-static-accessed-through-instance on gui.
tsteven4 [Sun, 3 Mar 2019 17:29:24 +0000 (10:29 -0700)]
clang-tidy readability-implicit-bool-conversion on gui.
tsteven4 [Sun, 3 Mar 2019 17:26:27 +0000 (10:26 -0700)]
clang-tidy modernize-use-nullptr on gui.
tsteven4 [Sun, 3 Mar 2019 17:21:19 +0000 (10:21 -0700)]
clang-tidy readability-delete-null-pointer on gui.
tsteven4 [Sun, 3 Mar 2019 17:20:12 +0000 (10:20 -0700)]
clang-tidy readability-container-size-empty on gui.
tsteven4 [Sun, 3 Mar 2019 17:17:27 +0000 (10:17 -0700)]
clang-tidy readability-redundant-member-init on gui.
tsteven4 [Sun, 3 Mar 2019 17:16:01 +0000 (10:16 -0700)]
clang-tidy performance-unnecessary-value-param on gui.
tsteven4 [Sun, 3 Mar 2019 17:14:25 +0000 (10:14 -0700)]
clang-tidy hicpp-use-equals-default on gui.
tsteven4 [Sun, 3 Mar 2019 14:39:52 +0000 (07:39 -0700)]
reformat gui with astyle. (#311)
tsteven4 [Fri, 1 Mar 2019 14:37:41 +0000 (07:37 -0700)]
incorporate review changes.
tsteven4 [Thu, 28 Feb 2019 14:14:13 +0000 (07:14 -0700)]
Refactor application packaging for linux/macos. (#310)
* Refactor application packaging for linux/macos.
Packaging of the GUI for linux/macos can now be done
either by building the make target "package" created by
"qmake app.pro", or by executing a bash script "package_app".
Packaging with the legacy configure flow will build the
package target.
Travis CI scripts will build the package target.
The obsolete script mac-localize is deleted. This
functionality is included in package_app.
The obsolete script makelinuxdist.sh is deleted. We have not
distributed a linux package in some time. Furthermore this
scirpt hadn't worked in some time. package_app does not
create a standalone linux app, however it packages all the
bits from GPSBabel in GPSBabelFE. This makes creating a
Docker app, which includes the Qt installation, for GPSBabel easy.
Merge relevant Qt .qm files into one qt_xx.qm file for each language
as recommended by Qt.
Deploy these meged .qm files with linux/macos builds.
Since Qt5 we only deployed the meta catalog, but not it's
dependencies. This should have led to the dependencies not
being available without Qt being installed.
gpsbabel.qm and gpsbabelfe.qm are no longer included in the packaged
apps for windows/linux/macos, as it should be.
GPSBabel [Thu, 28 Feb 2019 04:14:44 +0000 (22:14 -0600)]
Merge pull request #294 from madam7/master
skytraq updates: prepare gps week rollover, and an older bugfix
tsteven4 [Wed, 27 Feb 2019 15:33:48 +0000 (08:33 -0700)]
Merge branch 'master' into routelist
including manual resolution of conflict in main.cc.
tsteven4 [Wed, 27 Feb 2019 14:25:14 +0000 (07:25 -0700)]
Object cleanup (#307)
* elminiate some early program exits.
exits without cleanup make it harder to find memory leaks.
fix a few leaks.
enhance random format to support reading real time position data.
correct some sign related warnings.
* use invariant generator for random format.
* make compilers happy with random.
clang doesn't like:
random.cc:61:42: note: read of non-constexpr variable 'generator' is not allowed in a constant expression
constexpr double scalefactor = 1.0 / (*generator).max();
msvc doesn't like:
warning C4100: 'fname': unreferenced formal parameter
* catch main.cc up with master manually.
GPSBabel [Mon, 25 Feb 2019 18:34:30 +0000 (12:34 -0600)]
Change diff and terrain back to doubles in geo
Not part of official geo format that's widely used; apparently only used by rickrich's geo tools.
tsteven4 [Thu, 21 Feb 2019 17:13:17 +0000 (10:13 -0700)]
Qt 5.12.1 and valgrind on Linux (#306)
set an environmental variable when running valgrind to disable QRegularExpressions use of JIT which causes problems for valgrind. The release build of Qt 5.12.1 uses JIT by default. The debug build does not.
warn when running older version of valgrind that don't handle RDRAND instructions used by newer versions of Qt such as 5.12.1.
support multiple docker images in travis.
create a travis docker image with Qt 5.12.1.
tsteven4 [Mon, 18 Feb 2019 23:23:40 +0000 (16:23 -0700)]
do parallel builds for travis macos. (#305)
tsteven4 [Sat, 16 Feb 2019 20:41:25 +0000 (13:41 -0700)]
Set Qt version floor at 5.9 (#304)
* move Qt floor to 5.9.
* update coverage build for Qt archive naming.
* update all travis builds to xenial.
trusty is EOL 4/2019.
* avoid 5.12.1 on linux CI.
* Revert "avoid 5.12.1 on linux CI."
This reverts commit
b86212123cda9d7c57f212f3baf0f05bc3121ee5.
* avoid 5.12.1 on linux CI.
tsteven4 [Sat, 16 Feb 2019 19:05:43 +0000 (12:05 -0700)]
Parallel test (#303)
* run vtesto jobs in parallel.
with the configure flow and "make check-vtesto".
This will be utilized on travis.
* add missing gitignore for new valgrind logs.
tsteven4 [Sat, 16 Feb 2019 13:05:31 +0000 (06:05 -0700)]
fix pcx test to check output it generates! (#302)
tsteven4 [Fri, 15 Feb 2019 18:07:38 +0000 (11:07 -0700)]
update appveyor for Qt 5.12.1 (#301)
* update appveyor builds.
archive msvc2017,nmake, Qt 5.12,x86.
switch all msvc2017 builds to Qt 5.12.
* work around qmake 5.12.1 bug.
reorder builds so release candidate is done first.
tsteven4 [Fri, 15 Feb 2019 01:33:01 +0000 (18:33 -0700)]
archive macos with Qt 5.12.1 (#300)
instead of 5.9.7.
GPSBabel [Thu, 14 Feb 2019 20:39:32 +0000 (14:39 -0600)]
Merge branch 'master' into skytraq
Robert Lipe [Thu, 14 Feb 2019 20:34:25 +0000 (14:34 -0600)]
Essentially revert the skytraq part of PR#286.
GPSBabel [Thu, 14 Feb 2019 20:11:52 +0000 (14:11 -0600)]
Merge pull request #293 from tsteven4/trackf
modernization of track filter
GPSBabel [Thu, 14 Feb 2019 20:07:24 +0000 (14:07 -0600)]
Merge pull request #271 from gromit1811/fit-trkseg
Start new track segments on Garmin Fit timer events (start/stop/...)
tsteven4 [Thu, 14 Feb 2019 13:35:27 +0000 (06:35 -0700)]
Relocate xcsv format functions. (#297)
Many funtions for the xcsv format were in csv_util.cc
instead of xcsv.cc. This commit moves the xcsv format
specific functions to xcsv.cc, and leaves the possibly
shared utility functions in csv_util.cc.
xcsv.h is added to communicate shared xcsv style handling
with vecs.cc.
BJ Kowalski [Tue, 12 Feb 2019 20:38:41 +0000 (14:38 -0600)]
Added support for USR version 5 and 6 and corrected USR version 4 support. (#268)
* Minor changes to address GCC 7.3.0 warnings generated by flag -Wunused-but-set-variable.
Moved declaraions/initialization of rp_backup and era inside #ifdef _NL_CURRENT conditionals.
* Added { ... } to for at the end of zip64local_SearchCentralDir() so that if-break statements inside for loop.
* Removed declaration and commented out references to startlat, startlon, and starttime in fit_parse_data() due to GCC 7.3.0 warning from
flag -Wunused-but-set-variable.
* Added initial support for Lowrance USR 5 and 6 formats.
* Significant changes to handle multiple USR4 versions and add USR5 and USR6 support.
* Remove extraneous debug NL when no debug specified.
* Updated USR4 reference file because of increased accuracy in converting lat/log values.
* Documentation on some ICON mappings.
* Added USR5 and USR6 to validation checks.
* Added reference files for USR5 and USR6 formats.
* Cleaned up some debug output.
* Continued work to consolidate all Lowrance USR processing into a single file.
* Eliminated lowranceusr4.cc and restuctured testing to include USR4, USR5, and USR6 formats.
* Changes associated with adding support for USR 5 and USR 6.
* Eliminated lowranceusr4.cc from build.
* Changed default Output USR Version from 4 to 2 for backward compatibilty.
* Removed USR 4 section from documentation.
* Initial update of XMLDOC for updated data formats.
* iMinor updates to parse_routes. Added correct v4 and v5 GPX reference files.
* Documentation updates to reflect new capabilities.
* Added Route element information to document and minor code changes to match.
* Doc refinement with rewrite.
* Corrections to USR 4 output.
* Update to correct v4 gpx file.
* Checkin correct v5 gpx file.
* Removed errant NL when no debug specified.
* Resolved conflicts
* Missed this update.
* Revert "Minor changes to address GCC 7.3.0 warnings generated by flag -Wunused-but-set-variable."
at the request of tsteven4 as they have nothing to do with the expanded support.
This reverts commit
fb93a19b740edae4dde3b6dcd0546f344122f70d.
* Revert "Added { ... } to for at the end of zip64local_SearchCentralDir() so that if-break statements inside for loop."
at the request of tsteven4 as they have nothing to do with the expanded support.
This reverts commit
189bbe6ea664829412c70079e9ddb9555062a12f.
* Revert "Removed declaration and commented out references to startlat, startlon, and starttime in fit_parse_data() due to GCC 7.3.0 warning from"
at the request of tsteven4 as they have nothing to do with the expanded support.
This reverts commit
cc618336888c5cdb8adef87f72026a8c24eff7e8.
* Updated to remove lowranceusr4.cc per suggestion from tsteven4 to support cmake/XCLion.
* Per suggestions from tsteven4
- deleted define SECSTORADIANS as it was not used
- ran astylerc
* Replaced use of NULL with nullptr per tsteven4 suggestion.
* Added URLs for reference information.
* Adopted tsteven4 recommendation on eliminating compiler warning.
* Corrections to Waypoint and Trail documentation for USR 4, 5, and 6 formats.
* Address Codacy flagged issues.
* Address Codacy flagged issues.
* Address additional Codact flaged issues.
* Changed DEGREESTORADIANS define from hardcoded value to use (M_PI/180.0)
* Removed Copyright protected material and replaced with authored comments.
* Corrected altitude/depth retension coverting USR4/5/6 to USR2/3
* Added mapping of USR4/5/6 ICON numbers to text to support output to USR 2/3 format.
* Corrected generation of USR4 data file.
* Check for NULL format specific when converting USR 2/3 (colorless) to USR4 (color coded) ICONs.
* Added cases where USR 2/3 embeds color in shortname.
* Corrections to ICON translation from USR v2/3 to USR 4.
* Cleanup USR 2/3 parsing debug.
* Adopted modificatins to USR 4/5/6 time interpretation per suggestion from tsteven4.
* Adopted modificatins to USR 4/5/6 time interpretation per suggestion from tsteven4.
* Changed file header parsing back to int16 for USR format as found sample file with a stream version other than 0. Assume this
is true for ALL USR formats until determine otherwise.
* Updated reference files after corrections to altitude and time conversion.
* Check for both "nan" and "-nan" to address compiler differences.
* Use -options instead of --options to avoid osx OS issues.
* Set altitude to "unknown_alt" when creating Waypoints from Event ICONs.
Updated reference files to encorporate "unknown_alt" change.
Corrected mis-spelling of "green"
* Change cut options from --compliment to legacy explict field list for OSX OS support.
* Applied codex patch from tsteven4 - thank you.
* Corrected interpretation of elevation in USR2/3.
* Corrected reference files and test script with changes to elevation interpretation.
* More conversions to QString conventions.
Minor correction to trail attribute parsing.
* Editorial cleanup.
* USRv6 uses trail data stream version 5 which employs int32 rather than char for attributes.
* Use invalid ICON value as method to detect HOOK2 generated USR 2/3 files.
* Cleanup time conversions.
tsteven4 [Sat, 9 Feb 2019 22:43:03 +0000 (15:43 -0700)]
Use QList instead of QueueList to back RouteList.
This eliminates the usage of the legacy queue code for route lists.
tsteven4 [Sat, 9 Feb 2019 22:40:34 +0000 (15:40 -0700)]
Merge remote-tracking branch 'origin/master' into routelist
tsteven4 [Sat, 9 Feb 2019 22:36:23 +0000 (15:36 -0700)]
bug fixes for xcsv reader. (#295)
For some lines data must be accumulated from several fields
in arbitrary field order.
Previously this was done with global variables. Now a variable to
hold the accumulated data for a line is constructed/destructed for
each line.
This eliminates the possiblity of unintended communication between
lines.
This also eliminated some unintended communication between the reader
and the writer through global variables that they previously shared
(csv_track, csv_route).
An ordering sensitivty to TRACK_NEW and TRACK_NAME is removed.
For the reader, conditional allocation of route_heads is removed
from xcsv_parse_val, and centralized in xcsv_data_read.
This eliminates some undetected
memory leaks which hid as "still reachable" due to the pointer
being saved in a global variable (csv_track, csv_route).
Undesirable reading of the route_head->Q variable is
eliminated improving encapsulation. I beleive the intent was
never to decide if the csv_track->Q was empty, i.e. it hadn't been
added to the global track_head yet. I beleive what was desired was
to decide if csv_track had any waypoints. In any event the
centralization of route_head allocation and head addition makes new
track handling much more straight forward and robust.
The xcsv test case is enhanced to increase coverage.
tsteven4 [Sat, 9 Feb 2019 21:59:09 +0000 (14:59 -0700)]
Introduce a RouteList class.
This is backed by a QueueList class, which
adds iterators for queues. It is anticipated that
this will be replaced by usage of a more standard
container.
Mathias Adam [Sun, 20 Jan 2019 20:16:49 +0000 (21:16 +0100)]
skytraq: some minor cleanup I had lying around...
Mathias Adam [Sun, 20 Jan 2019 20:04:11 +0000 (21:04 +0100)]
skytraq: rename option gps_utc_offset to gps-utc-offset, to be consistent with other options
Mathias Adam [Sun, 20 Jan 2019 20:00:31 +0000 (21:00 +0100)]
skytraq: add doc for new option gps-week-rollover
Mathias Adam [Sat, 19 Jan 2019 12:48:46 +0000 (13:48 +0100)]
skytraq: prepare for upcoming gps week-rollover